<template>
  <div>
    <nav
      class="navbar navbar-light navbar-expand-lg fixed-top bg-white clean-navbar"
    >
      <div class="container">
        <a class="navbar-brand logo"
          ><em><span style="color: rgba(102, 208, 18, 0.9)">途游</span></em></a
        ><button
          data-bs-toggle="collapse"
          class="navbar-toggler"
          data-bs-target="#navcol-1"
        >
          <span class="visually-hidden">Toggle navigation</span
          ><span class="navbar-toggler-icon"></span>
        </button>
        <div class="collapse navbar-collapse" id="navcol-1">
          <ul class="navbar-nav ms-auto">
            <li class="nav-item">
              <router-link to="/" class="nav-link active">主页</router-link>
            </li>
            <li class="nav-item">
              <router-link to="/about" class="nav-link">关于</router-link>
            </li>
            <li class="nav-item">
              <router-link to="/contact" class="nav-link">联系</router-link>
            </li>
            <li class="nav-item">
              <router-link to="/task" class="nav-link">任务</router-link>
            </li>
            <li class="nav-item">
              <router-link to="/nested" class="nav-link">嵌套路由</router-link>
            </li>
          </ul>
        </div>
      </div>
    </nav>
  </div>
  <!-- 
    <router-link to="/">主页</router-link>
    <router-link to="/about">关于</router-link>
    <router-link to="/contact">Contact</router-link>
    <router-link to="/task">task</router-link> -->
</template>

<script>
export default {
  name: "Nav",
};
</script>

